//
//  DigitalClockViewController.h
//  DigitalClock
//
//  Created by Kishikawa Katsumi on 09/10/22.
//  Copyright Kishikawa Katsumi 2009. All rights reserved.
//

#import <UIKit/UIKit.h>

@class ClockView, CalendarView;

@interface DigitalClockViewController : UIViewController<UIScrollViewDelegate> {
    ClockView *clockView;
    
    // calendar view
    UIScrollView *calendarScrollView;
    UIPageControl *pageControl;
    
    // setting parameters
	BOOL twentyFourHourTime;
	BOOL flashTimeSeparator;
    
	BOOL weekStartsMonday;
    BOOL highlightHolidays;
    NSInteger numberOfCalendarPages;
    
    // utility objects
    NSCalendar *calendar;
    NSDate *now;
    
    NSTimer *timer;
    
    NSInteger currentPage;
    BOOL pageControlUsed;
}

@property (nonatomic) BOOL twentyFourHourTime;
@property (nonatomic) BOOL flashTimeSeparator;

@property (nonatomic) BOOL weekStartsMonday;
@property (nonatomic) BOOL highlightHolidays;
@property (nonatomic) NSInteger numberOfCalendarPages;

@property (nonatomic, retain) NSCalendar *calendar;
@property (nonatomic, retain) NSDate *now;

@end

